import request from '@/utils/request'

// 查询物流运行管控列表
export function listLogisticsOperationControl(query) {
  return request({
    url: '/ys/logisticsOperationControl/list',
    method: 'get',
    params: query
  })
}

// 查询物流运行管控详细
export function getLogisticsOperationControl(id) {
  return request({
    url: '/ys/logisticsOperationControl/' + id,
    method: 'get'
  })
}

// 新增物流运行管控
export function addLogisticsOperationControl(data) {
  return request({
    url: '/ys/logisticsOperationControl',
    method: 'post',
    data: data
  })
}

// 修改物流运行管控
export function updateLogisticsOperationControl(data) {
  return request({
    url: '/ys/logisticsOperationControl',
    method: 'put',
    data: data
  })
}

// 删除物流运行管控
export function delLogisticsOperationControl(id) {
  return request({
    url: '/ys/logisticsOperationControl/' + id,
    method: 'delete'
  })
}
